SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9f0387807f94de509b727dab820aeabd2553c4c978a91ef4c3a4b9cdefbf7497' 
  AND token = 'cqA5qqn4+sJgk0WFOlOX5YxxM/PKSo39FmAb5LVW+8Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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