SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5a7bbaafa52d09d8f3525972fc2eaea834c451da328528f82a177a3753fd809' 
  AND token = 'sLsZ/jRxwX+U8F6ylP6LeM25FSrE2LNeuvvMGEp8Y3c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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