SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca4863f2c923729b4c41cec9ed6ad942a00043b065145e6a02d0bd750455db08' 
  AND token = 'toBItNxkCPCn7gcxzTznwaiKFZTzfE5IN6DdtTnqeK4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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