SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd54f3c2c58e71716c504e283420254b24842c6809f9c1aaaf8156c7d9929457c' 
  AND token = 'sxaTiPv6Ykq8lkVtZ/osJdafSiktEDcN+mYF52FBqB4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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