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

Query time 0.00024

JSON explain

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