SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '28ae40d09633ec04643cdb20aa64aa257be61f23c70b1528ce104071035825bb' 
  AND token = 'ri4H25h9cVaDow9RHd4Hoz3wlqNBBsejnsqvm7/KYsM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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