SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2876d597447ccc92def55fbfd475e9672b1ca32a946e46a694df559a07eec79d' 
  AND token = 'df6vYVePxMSbl/zn5ikICbsrsp+xLSYs0Hasq5B9x1o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}